<#--
    模板名称：column_definition_list
    语句说明：https://doris.apache.org/zh-CN/docs/3.0/sql-manual/sql-statements/Data-Definition-Statements/Create/CREATE-TABLE#column_definition_list
    列定义：column_name column_type [KEY] [aggr_type] [NULL] [AUTO_INCREMENT(auto_inc_start_value)] [default_value] [on update current_timestamp] [column_comment]
    输入参数：
        col     MetaColumn
-->

`${col.getColumnName()}`<#t>
<#if col.getColumnType() == "varchar">
 STRING<#rt>
<#elseif col.getColumnType() == "nvarchar">
 STRING<#rt>
<#elseif col.getColumnType() == "numeric">
 DECIMAL(${col.getColumnPrecious()?c},${col.getColumnScale()?c})<#rt>
<#elseif col.getColumnType() == "decimal">
 DECIMAL(${col.getColumnPrecious()?c},${col.getColumnScale()?c})<#rt>
<#else>
 ${col.getColumnType()?upper_case}<#rt>
</#if>
<#if col.getIsNullable() == 1>
 NULL<#rt>
<#else>
 NOT NULL<#rt>
</#if>
<#if col.getComment()?? && col.getComment() != "">
 COMMENT "${col.getComment()}"<#rt>
</#if>